/**
 *
 */
package com.naiterui.ehp.bs.doctor.vo.medication;

import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;

import lombok.Data;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 药品库存销售信息
 * @since 2.16
 */
@Data
@ApiModel(value = "MedicatioInventorySaleVO", description = "药品列表预售及库存VO")
@JsonIgnoreProperties(ignoreUnknown = true)
public class MedicatioInventorySaleVO implements Serializable {

    /**
     * 字段或域定义：<code>serialVersionUID</code>
     */
    private static final long serialVersionUID = -2329326583459238914L;
    /** 是否限购：是 */
    public static final int IS_LIMIT = 1;
    /** 是否限购：否 */
    public static final int NOT_LIMIT = 0;

    /** SKUID */
    private Long skuId;

    @ApiModelProperty(value = "是否缺货1 是 0 否")
    private Integer isShort;
    @ApiModelProperty(value = "库存数")
    private Long stockNum;
    @ApiModelProperty(value = "是否预售1 是 0 否")
    private Integer isPresell;
    @ApiModelProperty(value = "预售文本")
    private String presellInfo;
    /**
     * 商务限购 1 是 0 否 change by linhf 2017-06-09
     */
    @ApiModelProperty(value = "是否限购1 是 0 否")
    public Integer islimit;
    /**
     * 商务限购提示文案
     */
    @ApiModelProperty(value = "药品商务限购提示文案")
    public String skuLimitInfo;
    /**
     * 患者可购买数量商务限购文案
     */
    @ApiModelProperty(value = "患者商务限购提示文案")
    public String patientLimitInfo;

    @ApiModelProperty(value = "是否销售中(false,true)")
    private boolean sale;

    /**
     * 用药安全剂量-（7天）
     */
    @ApiModelProperty(value = "用药安全剂量-（7天）")
    private Integer dosageWeek;
    /**
     * 用药安全剂量-30天
     */
    @ApiModelProperty(value = "用药安全剂量-30天")
    private Integer dosageMonth;
    /**
     * 用药安全剂量-60天
     */
    @ApiModelProperty(value = "用药安全剂量-60天")
    private Integer sixtyDosage;

    /**
     * 库存预警值
     */
    @ApiModelProperty(value = "库存预警值")
    private Integer inventoryWarningValue;
    /**
     * 商品编码
     */
    @ApiModelProperty(value = "商品编码")
    private String number;
    /**
     * 库存预警标识：0，否；1，是
     */
    @ApiModelProperty(value = "库存预警标识：0，否；1，是")
    private Integer inventoryWarning;

    public Long getSkuId() {
        return this.skuId;
    }

    public void setSkuId(Long skuId) {
        this.skuId = skuId;
    }

    public Integer getIsShort() {
        return this.isShort;
    }

    public void setIsShort(Integer isShort) {
        this.isShort = isShort;
    }

    public Long getStockNum() {
        return this.stockNum;
    }

    public void setStockNum(Long stockNum) {
        this.stockNum = stockNum;
    }

    public Integer getIsPresell() {
        return this.isPresell;
    }

    public void setIsPresell(Integer isPresell) {
        this.isPresell = isPresell;
    }

    public String getPresellInfo() {
        return this.presellInfo;
    }

    public void setPresellInfo(String presellInfo) {
        this.presellInfo = presellInfo;
    }

    public Integer getIslimit() {
        return this.islimit;
    }

    public void setIslimit(Integer islimit) {
        this.islimit = islimit;
    }

    public String getSkuLimitInfo() {
        return this.skuLimitInfo;
    }

    public void setSkuLimitInfo(String skuLimitInfo) {
        this.skuLimitInfo = skuLimitInfo;
    }

    public Integer getDosageWeek() {
        return this.dosageWeek;
    }

    public void setDosageWeek(Integer dosageWeek) {
        this.dosageWeek = dosageWeek;
    }

    public Integer getDosageMonth() {
        return this.dosageMonth;
    }

    public void setDosageMonth(Integer dosageMonth) {
        this.dosageMonth = dosageMonth;
    }

    public Integer getSixtyDosage() {
        return this.sixtyDosage;
    }

    public void setSixtyDosage(Integer sixtyDosage) {
        this.sixtyDosage = sixtyDosage;
    }

    public String getPatientLimitInfo() {
        return this.patientLimitInfo;
    }

    public void setPatientLimitInfo(String patientLimitInfo) {
        this.patientLimitInfo = patientLimitInfo;
    }

    public boolean isSale() {
        return this.sale;
    }

    public void setSale(boolean sale) {
        this.sale = sale;
    }

    public Integer getInventoryWarningValue() {
        return inventoryWarningValue;
    }

    public void setInventoryWarningValue(Integer inventoryWarningValue) {
        this.inventoryWarningValue = inventoryWarningValue;
    }

    public String getNumber() {
        return number;
    }

    public void setNumber(String number) {
        this.number = number;
    }

    public Integer getInventoryWarning() {
        return inventoryWarning;
    }

    public void setInventoryWarning(Integer inventoryWarning) {
        this.inventoryWarning = inventoryWarning;
    }
}
